<?php
class ui_friend_show_edit extends ui {
	/**
	 * @param Object $S
	 * @param Array $param = array (
	 * 		'id' => 		// user_friends 表中的主键id
	 * )
	 */
	public function __construct($S, $param) {
		parent::__construct();
		
		// 好友基本信息
		$data_friend = new data_friend();
		$friend = $data_friend->one($this->uid, $param['id']);
		$S->assign('friend', $friend);
	}
}
?>